package com.xhtt.modules.inspection.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.xhtt.modules.inspection.entity.InsTaskStep;
import com.xhtt.modules.inspection.schedule.InsMsgEntity;
import com.xhtt.modules.inspection.vo.TaskCompositeVO;
import org.apache.ibatis.annotations.Param;

import java.time.LocalDateTime;
import java.util.List;
import java.util.Map;

/**
 * <p>
 * 巡检-每次任务
 * </p>
 *
 * @author xj
 * @since 2019-02-27
 */
public interface InsTaskStepMapper extends BaseMapper<InsTaskStep> {

    List<TaskCompositeVO> queryPage(Page<TaskCompositeVO> page, @Param(value = "params") Map<String, Object> params);

    InsTaskStep queryById(@Param("taskStepId") Integer taskStepId);

    List<InsMsgEntity> pushList();

    List<InsTaskStep> queryDayList(@Param("time")LocalDateTime time, @Param("taskId") Integer taskId);

}
